package com.example.labtest.dao;

import com.example.labtest.domain.StudentGrade;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentGradeRepository extends JpaRepository<StudentGrade,Long> {


    List<StudentGrade> findBySname(String Grade);

    Page<StudentGrade> findBySnameLike(String sname, Pageable pageable);

    public Page<StudentGrade>findBySname(String sname, Pageable pageable);

}
